home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Tool Chest / Development Tools & Languages / HyperCard Related / APDA HyperCard Toolkits / HyperCard Video Toolkit 2.0 / HVT #1 / Videodisc Commands / card_10174.txt < prev    next >
Encoding:
Text File  |  1995-02-07  |  1.6 KB  |  43 lines

  1. -- card: 10174 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3170
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 9
  9. ----- text -----
  10. Command:
  11.  
  12. -- part contents for background part 1
  13. ----- text -----
  14. playVideo <first,last>
  15.  
  16. -- part contents for background part 2
  17. ----- text -----
  18. Play a sequence of frames on the disc.
  19.  
  20. -- part contents for background part 3
  21. ----- text -----
  22. first
  23.  
  24. last
  25.  
  26. -- part contents for background part 7
  27. ----- text -----
  28. the first frame to play, or "here" to play from wherever the disc is currently playing.
  29. the last frame to play, or "lastFrame" to play to the end of the disc.
  30.  
  31. -- part contents for background part 4
  32. ----- text -----
  33. Start playing from frame "first" to frame "last".  PlayVideo returns immediately, without waiting for the entire sequence to finish playing.
  34.  
  35. If first is "here", then start playing from wherever the disc is at the moment.  If last is "lastFrame", play to the last frame of the disc.  If first is greater than last, or if first is 0 or 1, play in reverse.
  36.  
  37. If the last parameter is left off, it defaults to "lastFrame".  If there are no parameters,  playVideo plays from "here" to "lastFrame".
  38.  
  39. If a blankVideo command was issued before the playVideo, the display will be blanked while searching for the first frame.
  40.  
  41. If a videoFramesPerSecond command was issued before the playVideo, the play speed will be set accordingly.  Otherwise, 30 frames per second will be used.
  42.  
  43. If we're in chapter mode ("controlVideo chapterMode" was executed), first is the chapter number to play from.  In this case, last is not allowed.